package com.quanz.ckgl.services.dao;

import java.util.List;

import com.quanz.ckgl.services.entity.AuthoritiesEntity;
import com.quanz.ckgl.services.entity.RoleEntity;
import com.quanz.ckgl.services.entity.UserEntity;
import com.quanz.ckgl.services.jpa.GenericRepository;

public interface AuthoritiesDao extends GenericRepository<AuthoritiesEntity, Long> {

	public List<AuthoritiesEntity> findByUser(UserEntity user);

	public List<AuthoritiesEntity> findByRole(RoleEntity role);
}
